-
Notifications
You must be signed in to change notification settings - Fork 114
fix(epoxy): fix Any quorum type not reaching any node #2910
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(epoxy): fix Any quorum type not reaching any node #2910
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
commit: |
// Only require 1 response | ||
utils::QuorumType::Any => 1, | ||
// Include all responses | ||
utils::QuorumType::All => responses.len(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: QuorumType::All sets target_responses to responses.len() (total responses), but the loop only counts successful_responses. If any responses fail, the code will wait indefinitely trying to collect more successful responses than possible. Should either: 1) Set target_responses to the number of nodes that haven't failed yet, or 2) Change the loop condition to account for failed responses when using QuorumType::All.
Spotted by Diamond
Is this helpful? React 👍 or 👎 to let us know.
48dbdc9
to
0752ad1
Compare
edd939f
to
0208166
Compare
Claude encountered an error —— View job I'll analyze this and get back to you. |
Claude encountered an error —— View job I'll analyze this and get back to you. |
0208166
to
edd939f
Compare
Claude encountered an error —— View job I'll analyze this and get back to you. |
…en disconnected/reconnecting
edd939f
to
c70a667
Compare
48dbdc9
to
e0afd30
Compare
Claude encountered an error —— View job I'll analyze this and get back to you. |
Claude encountered an error —— View job I'll analyze this and get back to you. |
No description provided.